Home

Operator Usage

Name

or

Description

or(ket1, ket2)
returns |yes> if ket1 or ket2 are |yes>, |no> otherwise.
now implemented as: ( ket1 || ket2 ) 


Examples

or(|yes>, |yes>)
    |yes>

or(|yes>, |no>)
    |yes>

or(|no>, |no>)
    |no>


See also

and, xor or:

Operator type

function 1, function 2